/*  1:   */ package org.intellij.plugins.relaxNG.inspections;
/*  2:   */ 
/*  3:   */

import com.intellij.codeHighlighting.HighlightDisplayLevel;
import com.intellij.util.xml.highlighting.BasicDomElementsInspection;
import org.intellij.plugins.relaxNG.xml.dom.RngDomElement;
import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */
/*  8:   */
/*  9:   */ 
/* 10:   */ public class RngDomInspection
/* 11:   */   extends BasicDomElementsInspection<RngDomElement>
/* 12:   */ {
/* 13:   */   public RngDomInspection()
/* 14:   */   {
/* 15:33 */     super(RngDomElement.class, new Class[0]);
/* 16:   */   }
/* 17:   */   
/* 18:   */   @NotNull
/* 19:   */   public HighlightDisplayLevel getDefaultLevel()
/* 20:   */   {
/* 21:39 */     HighlightDisplayLevel tmp3_0 = HighlightDisplayLevel.ERROR;
/* 22:39 */     if (tmp3_0 == null) {
/* 23:39 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/intellij/plugins/relaxNG/inspections/RngDomInspection", "getDefaultLevel" }));
/* 24:   */     }
/* 25:39 */     return tmp3_0;
/* 26:   */   }
/* 27:   */   
/* 28:   */   public boolean isEnabledByDefault()
/* 29:   */   {
/* 30:44 */     return true;
/* 31:   */   }
/* 32:   */   
/* 33:   */   @Nls
/* 34:   */   @NotNull
/* 35:   */   public String getGroupDisplayName()
/* 36:   */   {
/* 37:50 */     String tmp3_0 = BaseInspection.getRngGroupDisplayName();
/* 38:50 */     if (tmp3_0 == null) {
/* 39:50 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/intellij/plugins/relaxNG/inspections/RngDomInspection", "getGroupDisplayName" }));
/* 40:   */     }
/* 41:50 */     return tmp3_0;
/* 42:   */   }
/* 43:   */   
/* 44:   */   @Nls
/* 45:   */   @NotNull
/* 46:   */   public String getDisplayName()
/* 47:   */   {
/* 48:56 */     String tmp2_0 = "Unresolved References";
/* 49:56 */     if (tmp2_0 == null) {
/* 50:56 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/intellij/plugins/relaxNG/inspections/RngDomInspection", "getDisplayName" }));
/* 51:   */     }
/* 52:56 */     return tmp2_0;
/* 53:   */   }
/* 54:   */   
/* 55:   */   @NonNls
/* 56:   */   @NotNull
/* 57:   */   public String getShortName()
/* 58:   */   {
/* 59:62 */     String tmp2_0 = "UnresolvedReference";
/* 60:62 */     if (tmp2_0 == null) {
/* 61:62 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/intellij/plugins/relaxNG/inspections/RngDomInspection", "getShortName" }));
/* 62:   */     }
/* 63:62 */     return tmp2_0;
/* 64:   */   }
/* 65:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.intellij.plugins.relaxNG.inspections.RngDomInspection

 * JD-Core Version:    0.7.0.1

 */